package org.example.frw.canal.binlog.entity;

import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import org.example.frw.canal.HashValue;

@Getter
@Setter
@EqualsAndHashCode(callSuper = true)
public class GoodsDetailBinlogEntity extends BaseBinlogEntity implements HashValue {
  private Long id;
  /**
   * 商品ID
   */
  private Long goodsId;
  /**
   * 参数名称
   */
  private String html;

  @Override
  public String hashValue() {
    return String.valueOf(goodsId);
  }
}